﻿using PropertyChanged;
using System.Configuration;

namespace DaqCollectionClient.Model
{
    [AddINotifyPropertyChangedInterface]
    internal class MainWindowViewModel
    {
        /// <summary>
        /// 文件监控目录
        /// </summary>
        public string MonitorFullPath { get; set; } = ConfigurationManager.AppSettings["MonitorFullPath"];

        /// <summary>
        /// 检索通配符
        /// </summary>
        public string Wildcard { get; set; } = ConfigurationManager.AppSettings["Wildcard"];

        /// <summary>
        /// 服务地址
        /// </summary>
        public string ServerAddr { get; set; } = ConfigurationManager.AppSettings["ServerAddr"];
    }
}